//
//  UIView+Placeholder.m
//  CBAnyViewPlaceHolder
//
//  Created by Creater on 2018/10/12.
//  Copyright © 2018 Creative Bomb. All rights reserved.
//

#import "UIView+Placeholder.h"
#import <objc/runtime.h>

@implementation UIView (Placeholder)

- (CBNoContentView *)noContentView {
    return objc_getAssociatedObject(self, @selector(noContentView));
}

- (void)setNoContentView:(CBNoContentView *)noContentView {
    objc_setAssociatedObject(self, @selector(noContentView), noContentView, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

@end
